package com.flymobi.service;

import com.flymobi.fw.modules.CommonService;
import com.flymobi.po.SysParam;
import com.flymobi.util.QL;

public class SysParamService extends CommonService {

	public SysParam find(String name){
		return dao.findSingle(SysParam.class, QL.HQL.SysParam.FIND, new Object[]{name});
	}

	public void save(SysParam SysParam) {
		dao.save(SysParam);
	}

	public SysParam load(String id) {
		return dao.load(SysParam.class, new Long(id));
	}
	
	public SysParam get(String id) {
		return dao.get(SysParam.class, new Long(id));
	}

	public void delete(String id) {
		dao.delete(this.get(id));
	}
}
